<?php $this->import('Header') ?>
<?php $this->import('User/Top') ?>
<div class="container">
    <div class="row home-message">
        <div class="col-xs-8 left">
            <div class="well well-sm dog-info">
                <div class="ta">
                    <img class="photo" src="/Resource/images/dog_pt1.jpg" />
                    <div class="i">
                        <p class="name"><?php echo !empty($helloDetail['UserInfo']['Username']) ? $helloDetail['UserInfo']['Username'] : $helloDetail['UserInfo']['Email'] ?></p>
                        <p class=""><?php echo $helloDetail['UserInfo']['Sex'] = \Data\Base::SEX_BOY ? 'GG' : 'MM' ?>，<?php echo \Util\User::getOld($helloDetail['UserInfo']['Birthday']) ?></p>
                        <p class=""><?php echo implode('', $helloDetail['UserInfo']['cityInfo']) ?></p>
                        <p class=""><?php echo $helloDetail['UserInfo']['Desc'] ?></p>
                    </div>
                    <div class="go">
                        <a href="/dog_u<?php echo $helloDetail['UserId'] ?>.html" class="btn btn-info"><i class="glyphicon glyphicon-home"></i> Ta的主页</a>
                        <a href="javascript:;" class="btn btn-info js-follow-user"><i class="glyphicon glyphicon-star-empty"></i> 加关注 (<span>0</span>)</a>
                    </div>
                </div>
                <div class="dh">
                    <div class="group">
                        <div class="item">
                            <?php if ($helloDetail['UserId'] == $_currentUserInfo['UserId']) { ?>
                                我发送给
                            <?php } ?>
                            <span class="name text-info">
                                <?php echo !empty($helloDetail['UserInfo']['Username']) ? $helloDetail['UserInfo']['Username'] : $helloDetail['UserInfo']['Email'] ?>：
                            </span>
                            <span><?php echo date('Y-m-d H:i:s', $helloDetail['CreateTime']) ?></span>
                            <p><?php echo $helloDetail['Content'] ?></p>
                        </div>
                    </div>
                    <div class="replay-message">
                        <form id="js-reply-form">
                            <p>回复Ta：</p>
                            <input type="hidden" name="helloId" value="<?php echo $helloDetail['HelloId'] ?>" />
                            <textarea name="content"></textarea>
                            <p><button type="submit" class="btn btn-default">回复</button></p>
                        </form>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-xs-4 right">
            <div class="well well-sm dog-info look-me">
                <p class="bg-title title">最近关注我的</p>
                <div class="group">
                    <?php for ($i = 0; $i < 5; $i++) { ?>
                        <div class="item">
                            <a class="photo" href=""><img src="/Resource/images/dog_pt1.jpg"></a>
                            <div class="i">
                                <p>名字：紫薇</p>
                                <p>性别：GG</p>
                                <p>年龄：3岁</p>
                                <p>品种：金毛</p>
                                <p><a href="">3天前</a> 看过你... <a href="">看看Ta &gt;&gt;</a></p>
                            </div>
                        </div>
                    <?php } ?>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $this->import('Footer') ?>
<script>
    seajs.init();
</script>